//{{AFX_INCLUDES()
#include "msflexgrid.h"
//}}AFX_INCLUDES
#if !defined(AFX_IMPORTAMARC_H__4942DF7D_1B71_48C1_8BE0_FB871C97C6B0__INCLUDED_)
#define AFX_IMPORTAMARC_H__4942DF7D_1B71_48C1_8BE0_FB871C97C6B0__INCLUDED_

#include "MyIsisMarcZ.h"	// Added by ClassView
#include "Isismarcview.h"	// Added by ClassView

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ImportaMarc.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CImportaMarc dialog

#include "Show.h"	// Added by ClassView
class CImportaMarc : public CDialog
{
// Construction
public:
	long m_PaginaActual;
	CShow DialogoPft;
	void AsignaView (CView* vista);
	CIsismarcView* vistaduenia;
	void RefreshGrilla();
	CMyIsisMarcZ m_temp;
	CMyIsisMarcZ cmt;
	void ProcesaMarc(CString);
	CFile m_FileMarc;
	CString m_Archivo;
	CImportaMarc(CWnd* pParent = NULL);   // standard constructor
	void LoadDiacriticas();
	void OnButtonPagAnt();
	void OnButtonPagSiguiente();
	CString Diacriticas(CString);
	void IteroCadena(CString);
	CArray <traduccion,traduccion &> tablagizmo;

// Dialog Data
	//{{AFX_DATA(CImportaMarc)
	enum { IDD = IDD_DIALOGMARCIMPORT };
	CButton	m_ControlAuto001;
	CButton	m_ControlUsoDiacriticas;
	CButton	m_InsertAll;
	CProgressCtrl	m_ProgressBar;
	CButton	m_Cerrar;
	CStatic	m_Progreso;
	CButton	m_BotonProceso;
	CStatic	m_LeyendaInicial;
	CButton	m_InsertRow;
	CButton	m_DeleteRow;
	CButton	m_DeleteAllButton;
	CButton	m_BotonViewPft;
	CEdit	m_ArchivoEdit;
	CMSFlexGrid	m_Grilla;
	CStatic	m_NumeroRegistros;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CImportaMarc)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CImportaMarc)
	afx_msg void OnButtonFileChooser();
	afx_msg void OnProcessIt();
	virtual BOOL OnInitDialog();
	afx_msg void OnCancelMode();
	afx_msg int OnCharToItem(UINT nChar, CListBox* pListBox, UINT nIndex);
	afx_msg void OnClose();
	afx_msg void OnCaptureChanged(CWnd *pWnd);
	afx_msg void OnButtonInsertThisRecord();
	afx_msg void OnViewPft();
	afx_msg void OnButtonDeleteRecord();
	afx_msg void OnDeleteAll();
	afx_msg void OnChangeFileName();
	afx_msg void OnInsertAll();
	afx_msg void OnDblClickMsflexgrid1();
	afx_msg void OnButton6();
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_IMPORTAMARC_H__4942DF7D_1B71_48C1_8BE0_FB871C97C6B0__INCLUDED_)
